package com.zhongyouyun.other.file.abstractfactory;

import com.zhongyouyun.admin.model.FileModel;
import com.zhongyouyun.other.file.Bean.FileBean;
import com.zhongyouyun.other.file.Bean.FileBeanWork;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public  abstract  class FileFactory {
    public abstract FileBean uploadFile(MultipartFile file);

    public abstract void downloadFile(FileModel fileModel, HttpServletRequest request, HttpServletResponse response);

    public abstract FileBeanWork uploadhandleFile(List<MultipartFile> files);

    public abstract FileBeanWork delFile(FileModel fileModel);

    public abstract String uploadHtml(String html);
}
